﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

// Reviewed
#pragma once

#include "IUnCommandControlDefinition.h"
#include "Any.h"

namespace gcmp
{
    /// \brief GalleryItem控件数据定义接口
    class GCMP_GUI_BASE_INTERFACE_EXPORT IGalleryItemDefinition : public IUnCommandControlDefinition
    {
    public:
        /// \brief 得到图标路径
        virtual std::wstring GetIconPath() const = 0;

        /// \brief 得到设置的用户数据
        virtual Any GetUserData() const = 0;
    };
}

